﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccessor
{
    /// <summary>
    /// SQL SERVER 2008的数据库访问类
    /// </summary>
    public sealed class SqlServer2008 : SqlServer
    {
        #region 构造函数
        /// <summary>
        /// 创建指定配置的数据访问实例
        /// </summary>
        /// <param name="databaseName">模块名</param>
        /// <param name="configName">配置名</param>
        public SqlServer2008(string databaseName, string configName)
            : base(databaseName, configName)
        {
        }

        /// <summary>
        /// 创建指定配置的数据访问实例
        /// </summary>
        /// <param name="connectionString">连接字符串</param>
        public SqlServer2008(string connectionString)
            : base(connectionString)
        {
        }
        #endregion

        /// <summary>
        /// 返回当前数据访问器对应的DBMS类型字符串
        /// </summary>
        public override string DBMS
        {
            get
            {
                return "SqlServer2008";
            }
        }
    }
}
